import type { App } from 'vue';
export function registerPageComp(app: App) {
{{#each app.pages as | page |}}
    {{#or
        (eq page.type 'DEMOBEDITVIEW')
        (eq page.type 'DEMOBMDVIEW')
        (eq page.type 'DEMOBEDITVIEW3')
        (eq page.type 'DEMOBWIZARDVIEW')
        (eq page.type 'DEMOBOPTVIEW')
        (eq page.type 'APPPORTALVIEW')
        (eq page.type 'DEMOBTABEXPVIEW')
        (eq page.type 'DEMOBPORTALVIEW')      
        (eq page.type 'DEMOBHTMLVIEW')      
        (eq page.type 'DEMOBCUSTOMVIEW')
        (eq page.type 'DEMOBCALENDARVIEW')
        (eq page.type 'DEMOBPICKUPVIEW')
        (eq page.type 'DEMOBPICKUPLISTVIEW')
        (eq page.type 'DEMOBPICKUPMDVIEW')
        (eq page.type 'DEMOBMPICKUPVIEW')
        (eq page.type 'DEMOBPICKUPTREEVIEW')
        (eq page.type 'DEMOBLISTEXPVIEW')
    }}
    app.component('{{page.codeName}}', defineAsyncComponent(() =>import('../views/{{#if page.psAppModule.codeName}}{{spinalCase page.psAppModule.codeName}}/{{/if}}{{spinalCase page.codeName}}/{{spinalCase page.codeName}}.vue')));
    {{/or}}
{{/each}}
}